package com.skaz;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @Author: jungle
 * @Date: 2018/10/30 9:59 PM
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        buildSpringApplication(Application.class).web(WebApplicationType.SERVLET).run(args);
    }

    public static SpringApplicationBuilder buildSpringApplication(Class clazz) {
        return new SpringApplicationBuilder(clazz);
    }
}
